package com.project.hqshorttaxi.dto;

import com.project.hqshorttaxi.entity.Menu;
import lombok.Data;

import java.util.List;

@Data
public class RoleMenuDto extends Menu {

    private String path;

    private String component;

    private String redirect;

    private Boolean alwaysShow;

    private String name;

    private Meta meta;

    private List<Children> children;

    @Data
    public static class Meta {

        private String title;

        private String icon;
    }

    @Data
    public static class Children {

        private String path;

        private String component;

        private String name;

        private Meta meta;
    }
}
